﻿using BBICMS.Model.Security;
using BBICMS.Repository;
using BBICMS.DTO;
using System.Collections.Generic;

namespace BBICMS.Data.Repositories.Identity
{
    public interface IMenuRepository : IRepository<Menu> 
    {
        List<Menu> CurrenMenuCrumbs(string area, string controller, string action);
        IEnumerable<MenuDTO> GetMenusByCategoryId(int categoryId);
        IEnumerable<MenuDTO> GetFlatMenusByCategoryId(int categoryId);
        //IEnumerable<Menu> GetUserMenus(IEnumerable<Role> roles);
        //IEnumerable<Menu> GetParentMenusWithChild();
        //IEnumerable<Menu> GetActivedMenusWithChild();
    }
}
